/* 
 *  <copyright file="SetPosCmd.cs" company="Wesley Jowitt">
 *  
 *  SobrietyEngine: Copyright (c) 2011 Wesley Jowitt
 *  
 *  This software is distributed under a software license.
 *   * As of the creation time of this file, the license in use is the Microsoft Permissive License (Ms-PL) 
 *    * The license can be viewed at:
 *     * License.Txt in the root folder of this project
 *      * http://sobrietyengine.codeplex.com/license
 *       * http://www.microsoft.com/opensource/licenses.mspx
 *       
 *  </copyright>
 *   */




namespace SobrietyEngine.Commands.Commands
{
    /*
    
    class SetPosCmd:BaseCommand
    {
        CGuid Target;
        Vector3 pos;

        public SetPosCmd(Parameters parms):base((String)parms["Guid"], "SetPos")
        {

            //Need to have the Guid for the actor whose position we want to change.
            Target = (CGuid) parms["Target"];

        }

        public new void Execute()
        {
            IActor foo = (BaseActor)Target.Resolve();
            PositionCmp goo = (PositionCmp)foo[typeof(IPosition)];
            goo.Set(pos);
            //Apply the position object to the component.
        }
    }*/
}